home *** CD-ROM | disk | FTP | other *** search
/ Programming a Multiplayer FPS in DirectX / Programming a Multiplayer FPS in DirectX (Companion CD).iso / Paint Shop Pro / PSP900enTR.exe / Data1.cab / _4258B5AE03B549DCBE9C1DBEC076EEAF < prev    next >
Encoding:
Text File  |  2004-08-16  |  842 b   |  27 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': u'Jasc Software, Inc.',
  6.         'Copyright': u'Copyright (c) 2003-2004 Jasc Software, Inc.  All rights reserved.',
  7.         'Description': u'',
  8.         'Host': u'Paint Shop Pro',
  9.         'Host Version': u'8.10'
  10.         }
  11.  
  12. def Preset_ManualColorCorrection():
  13.     return {
  14.         'PreserveLightness': App.Constants.Boolean.false, 
  15.         'PreserveSaturation': App.Constants.Boolean.false, 
  16.         'TargetColor': (253,192,47), 
  17.         'SourceColor': (255,255,255), 
  18.         'Category': 10, 
  19.         'PresetColorIndex': 0, 
  20.         'ColorCorrection': App.Constants.ColorCorrection.Manual
  21.         }
  22.  
  23. def Do(Environment):
  24.     # ManualColorCorrection
  25.     App.Do( Environment, 'ManualColorCorrection',         Preset_ManualColorCorrection())
  26.  
  27.